package com.appcenter.application.dto.externalapi;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

public class JobDto {
    //所属部门
    private String parentid;
    //编码
    private String codeitemid;
    //岗位名称
    private String codeitemdesc;
    //唯一标示
    private String guidkey;
    //失效日期
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date end_date;
    //生效日期
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date start_date;

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getCodeitemid() {
        return codeitemid;
    }

    public void setCodeitemid(String codeitemid) {
        this.codeitemid = codeitemid;
    }

    public String getCodeitemdesc() {
        return codeitemdesc;
    }

    public void setCodeitemdesc(String codeitemdesc) {
        this.codeitemdesc = codeitemdesc;
    }

    public String getGuidkey() {
        return guidkey;
    }

    public void setGuidkey(String guidkey) {
        this.guidkey = guidkey;
    }

    public Date getEnd_date() {
        return end_date;
    }

    public void setEnd_date(Date end_date) {
        this.end_date = end_date;
    }

    public Date getStart_date() {
        return start_date;
    }

    public void setStart_date(Date start_date) {
        this.start_date = start_date;
    }
}
